﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Example10.aspx.cs" Inherits="Chapter05.Example10" %>

<!DOCTYPE html>

<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>代码清单 5-10 创建对象</title>
</head>
<body>
    <form>
        <div>
            <script type="text/javascript">
                var myData = new Object();
                myData.name = "Adam";
                myData.weather = "sunny";
                document.writeln("Hello " + myData.name + ".");
                document.writeln("Today is " + myData.weather + ".");
            </script>
        </div>
    </form>
</body>
</html>
